package edu.cs4311eclipseplugin.stringhighlighter;

import org.eclipse.jface.action.IAction;
import org.eclipse.jface.dialogs.MessageDialog;
import org.eclipse.jface.viewers.ISelection;
import org.eclipse.ui.IWorkbenchWindow;
import org.eclipse.ui.IWorkbenchWindowActionDelegate;

public class NewAction implements IWorkbenchWindowActionDelegate {

	private IWorkbenchWindow workbenchWindow;
	
	      
	public NewAction(){
	    	  
    }
	@Override
	
	public void run(IAction action) {
		// TODO Auto-generated method stub
      MessageDialog.openInformation(
      workbenchWindow.getShell(),
      "String Highlighter Plug-in","Action Under Development."
      );
      
	}

	@Override
	public void selectionChanged(IAction action, ISelection selection) {
		// TODO Auto-generated method stub

	}

	@Override
	public void dispose() {
		// TODO Auto-generated method stub

	}

	@Override
	public void init(IWorkbenchWindow window) {
		// TODO Auto-generated method stub
       workbenchWindow = window;
	}

}
